<!DOCTYPE html>
<html lang="en">

<head>
    <!-- #include file="../com/link.asp" -->
</head>

<body class="backCol">
    <!-- #include file="./header.asp" -->
    <div style="width: 1104px;" class="m1400">
        <div class="conTitle">产品管理</div>
        <div class="prodMain">
            <ul class="prodHeadList flexs">
                <li class="active">
                    <a href="addProduct.asp">
                        <img src="../images/pIcon1.png" alt="">
                        <img class="hide" src="../images/pIcon1-1.png" alt="">
                        <span>发布产品</span>
                    </a>
                </li>
                <li>
                    <a href="product.asp">
                        <img src="../images/pIcon2.png" alt="">
                        <img class="hide" src="../images/pIcon2-2.png" alt="">
                        <span>产品管理</span>
                    </a>
                </li>
                <li>
                    <a href="order.asp">
                        <img src="../images/pIcon3.png" alt="">
                        <img class="hide" src="../images/pIcon3-3.png" alt="">
                        <span>订单管理</span>
                    </a>
                </li>
                <li>
                    <a href="settlement.asp">
                        <img src="../images/pIcon4.png" alt="">
                        <img class="hide" src="../images/pIcon4-4.png" alt="">
                        <span>结算管理</span>
                    </a>
                </li>
            </ul>
        </div>

        <form class="layui-form formProd" action="">
            <div class="layui-form-item">
                <label class="layui-form-label">产品名称：</label>
                <div class="layui-input-block">
                  <input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">产品价格：</label>
                <div class="layui-input-block">
                  <input type="number" min="1" name="money" required  lay-verify="required" placeholder="请输入产品价格" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">产品图片：</label>
                <div class="layui-input-block">
                  <input type="file" name="file" required  lay-verify="required" placeholder="请上传产品图片" autocomplete="off">
                </div>
              </div>
            <div class="layui-form-item layui-form-text">
              <label class="layui-form-label">产品介绍：</label>
              <div class="layui-input-block">
                <textarea name="desc" placeholder="请输入产品信息" class="layui-textarea"></textarea>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
              </div>
            </div>
          </form>
           
          
    </div>
</body>
<script>
    //Demo
    layui.use('form', function(){
      var form = layui.form;
      
      //监听提交
      form.on('submit(formDemo)', function(data){
        layer.msg(JSON.stringify(data.field));
        return false;
      });
    });
    </script>
</html>